package com.ucar.train.dto;

import java.util.Date;

/**
 * @author wufuqiang
 * @title: Group
 * @projectName:train-parent
 * @description: T0D0
 * @created 2019-07-25 12:43
 */
public class Group {

    /**
     * 主键
     */
    private Long id;

    /**
     * 组编码
     */
    private Long code;

    /**
     * 组名称
     */
    private String name;

    /**
     * 组状态：有效为1，无效为0
     */
    private Integer state;

    /**
     * 组管理员
     */
    private Long oid;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date modifyTime;

    public Group() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getOid() {
        return oid;
    }

    public void setOid(Long oid) {
        this.oid = oid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "Group{" +
                "id=" + id +
                ", code=" + code +
                ", name='" + name + '\'' +
                ", state=" + state +
                ", oid=" + oid +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                '}';
    }
}
